Lab 6 - Viewstate

a. Problem Statement

Problem 1:
Implement a simple program that uses viewstate to store and retrieve counter value. Whenever Increment button is clicked counter should be incremented by 2? Write code behind below?

Problem 2:
Extend the program implemented above and make the View State secure? Refer to the textbook for the technique of securing?

Problem 3:
Consider the following definition of customer class. Develop a web form that stores three objects of customer in viewstate. Implement the code for retrieving customer objects also?

Output code

b. Code Report

c. Sample Outputs

Output Screenshot 1 Output Screenshot 2

d. Demonstration

Task 1 Task 2 Task 3
Web hosting by Somee.com